home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / lpmud312.tar / lpmud312 / DONE < prev    next >
Text File  |  1992-02-10  |  46KB  |  1,261 lines

  1. This has been done to 3.0.a0:
  2.  
  3. Number of arguments are checked at compile time, if possible.
  4.  
  5. lex isn't used any more, and no i-files need to be saved. The preprocessor
  6. is built into the parser.
  7.  
  8. Strings written with write(), are now seen by NPCs. This means that more
  9. intelligent monsters can be made.
  10.  
  11. A special object, /obj/master.c, is called at startup. This gives
  12. possibilities to do special initialization, and debugging. This file must
  13. exist ! You will find it in the source dir to 3.0.
  14.  
  15. Multiple inheritance is allowed.
  16.  
  17. Swapping of objects are done when a specified time has passed with no
  18. reference of the object.
  19.  
  20. The reset is now called when a specified time has passed.
  21.  
  22. Player save files are saved in subdirectories named 'a' to 'z', after
  23. the first letter of the player name. These directories has to be created
  24. as /players/a /players/b/ etc. This also means that a wizard with a name
  25. of only one character, suddenly will find saved characters in his directory.
  26.  
  27. New types: 'mixed', and 'type *'.
  28.  
  29.  
  30. 3.0.a1:
  31.  
  32. The type testing now seems to work. The types are enabled when the
  33. type is defined for a function. Types available are 'int', 'status' (same
  34. as 'int'), 'string', 'object', 'void' and 'mixed'. Any type can be
  35. combined with a '*' to form an array of types. For example,
  36. 'int *' would declare an array of numbers.
  37.  
  38. The function 'command()' now returns the evaluation cost if successful,
  39. otherwise 0.
  40.  
  41. 3.0.a2:
  42.  
  43. The '+' instruction can add two arrays, and make a new big array with the
  44. two arguments concatenated.
  45.  
  46. 3.0.a3
  47.  
  48. Added flag -m, to use another mudlib directory.
  49.  
  50. Added the ? : conditional expression.
  51.  
  52. The default port is changed from 2000 to 3000.
  53.  
  54. Added a function exec(), which can be called from player.c to replace
  55. with a new player object.
  56.  
  57. Add catch_tell(), which also catches strings sent to the monster with
  58. 'write()'.
  59.  
  60. 3.0.a4
  61.  
  62. Fixed some bugs. Default port number is now 3000.
  63.  
  64. 3.0.a5
  65.  
  66. Functions and variables now have both a flag field and a type field. The type
  67. field is the type specified by the LPC program. The flag field is information
  68. that the compiler found out.
  69.  
  70. Fixed type 'private', and 'private inherit' statement. Type 'no_mask' can
  71. also be used.
  72.  
  73. 3.0.a6
  74.  
  75. Added the empty statement.
  76.  
  77. 3.0.a7
  78.  
  79. Fixed bug in find_player().
  80.  
  81. The documentation file LPmud.doc.ms was renamed to LPmud.doc.me, as it
  82. was really on nroff -me format.
  83.  
  84. 3.0.a8
  85.  
  86. The flag -o is now required when using the game driver with a mudlib of
  87. version 2.4.6 or older. The flag stand for 'old compatibility mode'.
  88.  
  89. The following changes are nullified with the -o flag:
  90.     move_object():    Can only move current_object.
  91.     transfer():        Not supported any longer.
  92.     move_object():    exit() is not called any longer when a player leaves
  93.             a room.
  94.  
  95. Fixed a bug in create_wizard(). create_wizard() can take a second
  96. argument, which is an optional domain name. That allows wizards too be
  97. groped into domains, which resides in a common directory.
  98.  
  99. 3.0.a9
  100.  
  101. The function destruct() was changed to behave differently. Instead of moving
  102. objects with 'transfer()', they will be moved with the function 'move()'
  103. called internally in the objects. As usual, when the -o flag is specified,
  104. the old behaviour is used.
  105.  
  106. A new function shadow(), has been defined:
  107.  
  108. ----------------------------------------------------------
  109. object shadow(object ob, int flag)
  110.  
  111. If 'flag' is 0, then current object will shadow 'ob'. If 'flag' is 1,
  112. then either 0 will be returned, or the object that is shadow for 'ob'.
  113.  
  114. An object that defines that funtion query_prevent_shadow() to return 1
  115. can't be shadowed, and the shadow() function will return 0 instead
  116. of 'ob'.
  117.  
  118. If an object 'a' shadows an object 'b', then all call_other() to 'b' will
  119. be redirected to 'a'. If object 'a' has not defined the function, then
  120. the call will be passed on to 'b'. There is only one object that can
  121. call functions in 'b' with call_other(), and that is 'a'. Not even object 'b'
  122. can call_other() itself. All normal (internal) function calls inside 'b'
  123. will however remain internal to 'b'.
  124.  
  125. There are two ways to remove the shadow. Either destruct it, or the object
  126. that was shadowed. In the latter case, the shadow will also be destructed
  127. automatically.
  128.  
  129. The result is that it is possible to hide an object behind another one,
  130. but everything can be totally transparent.
  131. ----------------------------------------------------------
  132.  
  133. 3.0.a10
  134.  
  135. write() from a shadowing object will now be transfered to the shadowed
  136. object.
  137.  
  138. say() will likewise be sent to objects around the shadowed object whe called
  139. from a shadowing object.
  140.  
  141. Fixed some line number counting bugs.
  142.  
  143. 3.0.a11
  144.  
  145. Fixed the shadowing data structure, to enable an unlimited number of
  146. shadows to one object.
  147.  
  148. Objects must inherit std/object.c if they want to be moved, or moved into.
  149. The -o flag will as usuall remove this requirement.
  150.  
  151. Fixed a bug in restore_object and save_object, so that the 'static' 
  152. information is used.
  153.  
  154. Merged from Marion's version:
  155.  
  156.     Fixed some bugs.
  157.         swap now relocates the program pointers
  158.         main recognizes '-s<num>' for an alternate time to swap as an invocation
  159.         parameter
  160.         fixed the double include of time.h in interpret.c
  161.         function_exists had a null dereference when an overloaded function was
  162.         involved in the examined object - fixed
  163.         set reference debugging to level 3
  164.  
  165. save_object() and restore_object() can now handle arrays.
  166.  
  167. Included a large amount of fixes by Klaus Rennecke.
  168.  
  169. 3.0.a12
  170.  
  171. call_out_info() returns an array of all pending call outs.
  172. Every item in the array consists of 4 items (but only if the object not is
  173. destructed):
  174.  * 0:    The object.
  175.  * 1:    The function (string).
  176.  * 2:    The delay.
  177.  * 3:    The argument.
  178. Probably only interesting for administrators.
  179.  
  180. 3.0.a13
  181.  
  182. player_parse() did not always restore current_object in time, which means that
  183. static declared functions sometimes was not found.
  184.  
  185. fixed save_object(), which were broken when used in compatibility mode.
  186.  
  187. Fixed a bad bug in the inherit handling in lang.y. The error would occur
  188. sometimes when multiple inheritance was used. An almost random address could
  189. be called.
  190.  
  191. The documentation is slowly growing.
  192.  
  193. 3.0.a14
  194.  
  195. Efuns file_name() and function_exists() returns filename with leading '/'
  196.  
  197. Efun living() returns 0 for other arguments than objects.
  198.  
  199. Implemented: string read_file(string).
  200.  
  201. Added a new complex permission system. Look at LPmud.doc for more information.
  202.  
  203. New function: version(). Will return "03.00.14" for this version.
  204. The number 14 is the patchlevel.
  205.  
  206. Improved the line number report given at errors.
  207.  
  208. Fixed bug in 'ed', that made it impossible to use.
  209.  
  210. 3.0.15
  211.  
  212. function_exists() and file_name() returns a leading '/' on the file names,
  213. which was incompatible with mudlib 2.4.5 and older. This was fixed
  214. when using -o flag.
  215.  
  216. 3.0.16
  217.  
  218. Fixed some type tests and better error messages when type problems.
  219.  
  220. Fixed several small bugs when parsing commands.
  221.  
  222. Reinstalled call of 'load_first_objects()' when -o flag is used.
  223.  
  224. Added automatic include of documentation of lfuns and efuns into the
  225. LPmud.doc document. They should be sorted also (by make_docs).
  226.  
  227. 3.0.17
  228.  
  229. Fixed bug in dump_trace(), which could crash the game when in heart beat.
  230.  
  231. Fixed bug in save_object(), which enabled wizards to save anything on their
  232. own player save file.
  233.  
  234. Fixed lex.c, so that comments are allowed in '#if' statements, and so that
  235. the '#if' statement allows expressions of the type '!VAR'.
  236.  
  237. 3.0.18
  238.  
  239. Allowed '*' i type of argument declarations.
  240. Fixed bug in error message printed when type error.
  241. The numeric value 0 can now be used to index arrays and strings. It did
  242. generate a type error.
  243. Fixed a better test of type equality.
  244.  
  245. 3.0.19
  246.  
  247. Fixed load_object() to take an extra parameter for not resetting object 
  248. after load. This is used in mudlib 3.0 for inherited objects. Only when the
  249. ENTIRE object is loaded (all inherited objects loaded) is its reset() called.
  250.  
  251. Fixed bug in input_to(), which did not check if command_giver was a valid
  252. pointer.
  253.  
  254. A program truncated just after a string start with " would generate a fatal
  255. error.
  256.  
  257. load_first_objects() should load objects using find_object(), not
  258. load_object().
  259.  
  260. When swapped objects are destructed, they have to be loaded.
  261.  
  262. 3.0.20
  263.  
  264. Fixed the type returned by '&&' and '||' operator.
  265.  
  266. The type checker now allows indexing on strings.
  267.  
  268. Indexing on a type 'mixed' now gives a type 'mixed'.
  269.  
  270. Use of an undeclared variable would give it a random type, which could
  271. crash the game.
  272.  
  273. Fixed some memory leaks when restore_array failed.
  274.  
  275. create_wizard() can return 0, which must not be pushed as a string.
  276.  
  277. 3.0.21
  278.  
  279. Changed restore_size(), to return -1 for failures instead of the legal value
  280. 0.
  281.  
  282. Implemented "#pragma strict_types", which will ensure strict type checking
  283. for the rest of the code in that file.
  284.  
  285. Changed priority of assigment and the '?' - ':' operator, which was
  286. erroneous.
  287.  
  288. Fixed how '\' was used in the 's' command to ed.
  289.  
  290. 3.0.22
  291.  
  292. LA: Added query_ip_name changes.
  293.  
  294. LA: Added latest fixes to lex.c.
  295.  
  296. ',' is allowed in the end of lists again: ({ 1, 2, 3, });
  297.  
  298. filter_objects() was accidently renamed to filter_array(). It has been
  299. renamed again, to filter_objects().
  300.  
  301. query_ip_name() has been implemented. It uses an asynchronous process, to
  302. ensure that no slow down is experienced.
  303.  
  304. 3.0.23
  305.  
  306. JnA: When epilog() is called with o_flag false, it gets e_flag as argument.
  307. JnA: Because preloading of objects is done in /secure/master.c in mudlib3.0
  308.  
  309. xt: In 3.0 void is in /d/Standard/void.c instead of /room, because of the
  310. xt: new security stuff.
  311.  
  312. query_level should not be called from error() if the living object
  313. is non-interactive or destructed.
  314.  
  315. A more careful limitation of number of read characters is used in comm1.c
  316. when reading characters from players. It is difficult, becaus the read
  317. text can expand up to a factor 3 in worst case.
  318.  
  319. Sources to some sub-programs are now provided in subdirectory 'util'.
  320. The compiled results of these will be moved the a binary directory that
  321. is defined in Makefile.
  322.  
  323. The new binaries are 'indent' (for reindenting LPC from inside the game),
  324. and restart_mud (which is really a command procedure).
  325.  
  326. The definition of MUD_LIB has been moved from config.h to Makefile.
  327.  
  328. The function 'version()' had a bad return type, which was changed to 'string'.
  329.  
  330. 3.0.24
  331.  
  332. exit() wasn't called in the -o mode.
  333.  
  334. present(object ob, object env) returned 'env', not 'ob' when true.
  335.  
  336. Fixed a severe memory leak in instruction F_RETURN.
  337.  
  338. Added a search list of where to search for include files.
  339.  
  340. ctime() returned current time, instead of using the argument.
  341.  
  342. Fixed some changes for SCO unix and AIX.
  343.  
  344. 3.0.25
  345.  
  346. save_object() should not do fatal error whwn failure to open file for
  347. writing.
  348.  
  349. The '#pragma strict_types' are now not propagated from #include files.
  350.  
  351. catch() is defined to return a value of type 'mixed'.
  352.  
  353. living() now only accepts an 'object' as argument.
  354.  
  355. objectp(), stringp(), intp() accepts any type.
  356.  
  357. explode() with empty string will no longer crash the game.
  358.  
  359. clear_vector_refs() now really does clear the ref counts.
  360.  
  361. count_ref_from_call_outs() failed to count references for arguments to
  362. call outs.
  363.  
  364. Fixed updating of total_prog_block_size, so that the 'status' commands
  365. reports correct info about programs.
  366.  
  367. 3.0.26
  368.  
  369. There was a bug in '>=' for strings.
  370.  
  371. Fixed bug in >>=
  372.  
  373. LA: Added a 'trace()' efun to aid debugging.
  374.  
  375. Fixed a bad efficiency bug in add_to_mem_block().
  376.  
  377. Fixed a bug in crypt(), which would generate bad salts.
  378.  
  379. Implemented "int member_array(mixed elem, mixed *arr);" It will search
  380. for "elem" as an item in array "arr", and return the index if found.
  381. Otherwise, -1 is returned.
  382.  
  383. 3.0.27
  384.  
  385. All calls to master_ob are now checked, to see if it has been destructed.
  386. A function 'assert_master_ob_loaded()' will reload master_ob if destructed.
  387. Do not do 'apply(fun, master_ob, args)' any more, but rather
  388. 'apply_master_ob(fun, args)'.
  389.  
  390. JnA: New scheme for preloading in 3.0, epilog() in master returns an array
  391. JnA: of filenames and the gamedriver calls preload() in master with each of
  392. JnA: those filenames as argument. This is done in: preload_objects()
  393.  
  394. The 'status' command now also shows the reserved memory area.
  395.  
  396. JnA: make_unique debugged, it should not dump the game anymore
  397.  
  398. JnA: process_string added to speed up 'value by function call' especially
  399. JnA: in the say/'met' strategy used in mudlib3.
  400.  
  401. Moved array manipulation functions into array.c
  402.  
  403. The type system has been extended with checks for number of arguments.
  404. The check is only done when type check is enabled. Functions can now be
  405. declared of type 'varargs', which will turn off this check.
  406.  
  407. 3.0.28
  408.  
  409. Line number reports were off one line per #if - #endif.
  410.  
  411. Error reports were given for calling specific functions defined
  412. by inheritance.
  413.  
  414. Specific function calls defined by inheritance are now resolved
  415. immediately.
  416.  
  417. Function 'implode()' now returns empty string instead of 0 for empty arrays.
  418.  
  419. JnA: All array efuns are now returning ({}) not int 0, explode is dubious
  420. JnA: though.
  421.  
  422. JnA: filter_array and map_array can now take its 'object' argument as a
  423. JnA: string in the same manner as the first argument to call_other()
  424.  
  425. 3.0.29
  426.  
  427. Fixed a bug in player_parser, which could dereference a dangling pointer
  428. (the sentence of a command just executed could be deallocated if the command
  429. moved the player).
  430.  
  431. Fixed a bug in transfer(), which would not check prevent_insert correctly.
  432. This bug did only affect the -o mode.
  433.  
  434. The hard-coded command 'status' now displays information about allocated
  435. arrays.
  436.  
  437. The file void.c is no longer loaded, nor needed. The only difference, is that
  438. objects in destroyed rooms are also destroyed, instead of being moved
  439. to the void.
  440.  
  441. LA: Added some checking when hname starts to avoid looping in select.
  442.  
  443. Fixed a bug in call of hname, which could be problems on some
  444. architecture.
  445.  
  446. There was a test in ed_start, that only allowed ed() to be started
  447. by a special object. The test is removed, and is not needed as
  448. valid_path_name() is called instead.
  449.  
  450. 3.0.30
  451.  
  452. Fixed a bug in the shadow logic wich would fail to report facts about
  453. shadows.
  454.  
  455. Fixed a bug in make_unique(), which didn't work when third argument
  456. was missing.
  457.  
  458. Fixed a function
  459. int find_call_out(string func_name);
  460. which will return the time until this call out will occur.
  461.  
  462. Fixed a function
  463. int interactive(object ob);
  464. which will return a non-zero number if object ob is an interactive player.
  465.  
  466. The symbol "LPC3" will automatically be defined when loading
  467. objects. It can be used for '#ifdef LPC3' etc. The symbol 'COMPAT_FLAG'
  468. will automatically be defined if '-o' is specified as argument.
  469.  
  470. The swapping algorithm has been changed. A test is done for every object,
  471. comparing to a time stamp. If the object hasn't been touched for a while,
  472. it could be subject for swapping. Here comes the new thing: the function
  473. 'clean_up' will be called in the object. If the object still remains,
  474. the old swapping algorithm will continue. That means that objects that
  475. would never be subject to swapping (cloned objects) now has a chance
  476. to self-destruct. It also means that rooms that contains no important
  477. data can self-destruct. Self-destruction saves more memory than
  478. swapping, as swapping only frees the program code, while self-destruction
  479. also frees the internal object representation.
  480.  
  481. 3.0.31
  482.  
  483. The 'status' command now reports the space used of object including
  484. variables.
  485.  
  486. LA: Added object names in tracing.
  487. LA: Added traceprefix to limit trace information.
  488. LA: Merged changes to evaluate expression in #if.
  489.     Also added processing of defined in the expressions.
  490.  
  491. Fixed a memory leak in ed() when doing command 'x'.
  492.  
  493. There is a new function 'get_wiz_name()' that should be defined in
  494. the master.c object. A master.c file is provided with the source, which
  495. includes an example.
  496.  
  497. Fixed a memory leak in the compilation that occured when there was a
  498. compilation error.
  499.  
  500. 3.0.32
  501.  
  502. The call to legal_path() is done again (for the version not using -o).
  503.  
  504. Added support for NeXT.
  505.  
  506. Added support for using the system malloc.
  507.  
  508. A new access permission system has been added, much better than the old.
  509. Look at ACCESS.ALLOW for more information. Don't forget to copy this file
  510. to your mudlib if you use this new system (specified by config.h) !
  511.  
  512. Fixed a bug in make_unique(), which assigned an svalue without updating
  513. the ref count.
  514.  
  515. Now testing and calling reset() from call_other(), as was done in
  516. 2.4.5. This test was accidently lost in 3.0.
  517.  
  518. 3.0.33
  519.  
  520. When create_wizard() is called, the function 'verify_create_wizard'
  521. will be called with the name the object that did the call. If this
  522. function returns 0, then create_wizard() will fail. Note that
  523. 'valid_castle_place' is no longer called. Sorry for the change. See example
  524. in the provided master.c.
  525.  
  526. It is now allowed again to do add_action() to a function named 'exit',
  527. but only when not in -o mode.
  528.  
  529. Fixed a bug in shout(), that could modify the string argument.
  530.  
  531. Fixed yet another memory leak at compilation by ensuring that epilog()
  532. is called.
  533.  
  534. 3.0.34
  535.  
  536. LA: Fixed some bugs in lex.c.
  537.  
  538. The swap file is now automatically removed at shutdown().
  539.  
  540. Fixed a slight bug in save_array() that would save object as ",0" instead
  541. of "0,".
  542.  
  543. query_level is no longer called from 'set_living_name()'. The results
  544. is that wizard commands will again give points to the wizlist structure.
  545. This should be solved in a cleaner way.
  546.  
  547. Fixed some bugs in 'ed', for how to handle '\'.
  548.  
  549. The 'ed_buffer' pointer has been moved into the interactive structure
  550. from the object structure.
  551.  
  552. The command ed(), can now use a second argument, which is the function
  553. to be called when the player exits ed. It will be called in the same
  554. object that called ed().
  555.  
  556. JnA: Fixade 'fixen' i make_unique
  557.  
  558. The call of clean_up() has been modified. There is a constant in config.h
  559. that defines how long time until clean_up is called in an object. This
  560. call is independent of reset() and swapping. It is recommended that the
  561. swapping time is something short, like 10 minutes to 30 minutes, while
  562. the time to clean_up is longer.
  563.  
  564. 3.0.35
  565.  
  566. Added a protection against recursive call of assert_master_ob_loaded().
  567. This could happen when error in master object.
  568.  
  569. JnA: Fixed some bugs in process_string, it actually works now :-)
  570.  
  571. Fixed a bug in eval_instruction() where F_INDENT was executed. Added a missing
  572. 'break;', which would be disastrous when illegal file name was given.
  573.  
  574. Added new commands to the editor: help and indenting. There are thus two ways
  575. to indent LPC code. Probably only one needed. Which one is preferred ?
  576.  
  577. Fixed several bugs in the swap/reset/clean_up logic. Recommended values
  578. are that the swap time is short (less than 30 minutes), and that reset time
  579. is medium (aprox 60 minutes), and that time to clean_up is long
  580. (greater than 1.5h hours). Any feedback of how to best tune these values
  581. are welcome. The call of reset will be done once, and not yet again until
  582. the object has been touched. This enables reset'ed objects to stay swapped
  583. out. If you have a mudlib that has no ojbects that defines 'clean_up', then
  584. you may better define this time as 0, which means never call clean_up (and
  585. thus never swap the object in needlessly). A well implemented usage
  586. of clean_up is better than the swap algorithm, as even cloned objects
  587. can be cleaned up and a self destruction is more efficient than swapping
  588. (memory wise).
  589.  
  590. 3.0.36
  591.  
  592. Fixed a bug in shadowing, how catch_tell was called. It would fail when
  593. catch_tell is defined by the player object.
  594.  
  595. Fixed several bugs in the tracing mechanisms.
  596.  
  597. Changed mechanism of calling clean_up() slightly. Only objects that defines
  598. the function will be called. And, only clean_up() that returns non-zero
  599. will be called again. This will minimize calls of clean_up(), while still
  600. cost very litte to maintain.
  601.  
  602. When an object is destructed, all pointers to it from the stack is
  603. immediately removed. All tests of destructed objects as arguments on
  604. the stack has been removed. Previously, there were tests in many efuns.
  605.  
  606. A simple command procedure, 'configure' is provided, that asks for
  607. configuration details to be used by the Makefile. It will answers in
  608. config.data, and reuse it if wanted. The idea is to simplify updates of
  609. new versions of LPmud.
  610.  
  611. 3.0.37
  612.  
  613. Provided support for IRIS-4D/340 using gcc (defining 'sgi').
  614.  
  615. create_wizard() will no longer make a workroom when in -o mode, so as to
  616. be compatible.
  617.  
  618. The definition of CASTLE_ROOM (in config.h) has a new meaning when not
  619. defined. In that case, the castle will be put in the same room as the
  620. player.
  621.  
  622. The verify_create_wizard() defined in master.c was bad. A correct one
  623. is now supported (for 2.4.5). If this function is incorrect or non-existent,
  624. then create_wizard() can never be called successfully.
  625.  
  626. clean_up() now gets a flag as argument, which will be non-zero if the the
  627. program of this object is used for inheritance by other objects.
  628.  
  629. 3.0.38
  630.  
  631. Fixed a bug in catch() that could crash the game. This happened
  632. when the code inside catch called a local function, which did something
  633. that triggered an error.
  634.  
  635. JnA: trace() and traceprefix() fixed to work with mudlib3 in a correct way
  636.  
  637. RW: A missing call to valid_write() in log_file() added.
  638.  
  639. JnA: Local log files should be under peoples homedirs, not in /log This has
  640. JnA: been fixed for mudlib3.
  641.  
  642. JnA: Efun geteuid() added for 3.0, the simul_efun version had no possibility
  643. JnA: of finding out effuser 'from the start'. This messed up the secsystem.
  644.  
  645. move_object() in -o mode will clear the O_RESET_FLAG, which will force a
  646. new call of reset() sometime. This is only needed in -o mode.
  647.  
  648. Added protection against snooping loops.
  649.  
  650. Fixed a fatal bug in shadow(), that crashed the game when asking for shadow
  651. while non existed.
  652.  
  653. 3.0.39
  654.  
  655. A new file, func_desc, has been created that defines number of arguments,
  656. return types and types of arguments for all efuns. A program, make_func, will
  657. automatically generate a file efun_defs.c that is included into lex.c.
  658. The base for compile time type checking is also done this way.
  659.  
  660. JnA: get_log_file() added to get the filename of where to log errors for a 
  661. JnA: given file. This is a function in wiz_list.c called from smart_log. It
  662. JnA: calls the corresponding function in /secure/master. It is not used
  663. in -o mode.
  664.  
  665. JnA: Fixed a bug in map_array that dumped the GD when map on a nonexistent
  666. JnA: function was performed.
  667.  
  668. A major change has been done with the way reset() is called. When the
  669. object is loaded first time, create() is called instead of reset(0). When it
  670. is time for next 'reset', then reset() will be called (without arguments).
  671. The -o flag is a compatible mode as usual. A good coding technique may be
  672. to call reset() from create(). The mudlib.n found at alcazar.cd.chalmers.se
  673. has been changed apropriately.
  674.  
  675. 3.0.40
  676.  
  677. Added handling of hexadecimal numbers in lex.c and fixed a line number
  678. counting bug.
  679.  
  680. Fixed a bug for not clearing the O_RESET_STATE flag by
  681. moving it from apply() to apply_low().
  682.  
  683. The setup in the editor can now be saved. Use 'hset' for info. The save
  684. setup mechanism is in master.c: save_ed_setup() and retrieve_ed_setup().
  685. There are two mechanisms provided. One that save setup into a file, and
  686. one that saves setup in the player dedicated flags. The file saving
  687. method is default.
  688.  
  689. Errors are now logged by calling function log_error(file_name, message)
  690. in master.c. It is thus easy to change how to handle error messages.
  691. The old function, get_log_file() in master.c has been removed. This is yet
  692. another step of moving hard coded dependencies from the game driver to
  693. the master.c object.
  694.  
  695. 3.0.41
  696.  
  697. Types are now checked for all arguments to efuns. Expect errors if you
  698. have not casted the return value from call_other(). No argument types are
  699. checked if the the type checking is not enabled (which is done by defining the
  700. type of a function definition).
  701.  
  702. Inet packets are now buffered, and flushed later.
  703.  
  704. The master.c (in -o mode) is now allowed to read and write any file in the
  705. mudlib (but not outside).
  706.  
  707. The code for the efun creat_wizard() is now moved to master_creat_wizard()
  708. in master.c (see example). It is thus easy to customize.
  709.  
  710. 3.0.42
  711.  
  712. JnA: "destruct_environment_of" is now called in master when the environment
  713. JnA: of an object gets destructed and the destructed environment does not
  714. JnA: have an environment itself, ie in rooms. This is so players will not
  715. JnA: get disconnected when the room they are in get destructed.
  716. JnA: If this func does not exist in master or does not move the object from
  717. JnA: its location then the object is destructed.
  718.  
  719. Efuns can now be access with the syntax 'efun::fun' where 'fun' is the name
  720. of the efun. That means that efuns can be accessed even if it has
  721. been redefined.
  722.  
  723. The bug that required prototypes for recursive functions has been fixed.
  724.  
  725. If a command moves the player and returns 0, then an error will be
  726. generated. This was silently accepted previously.
  727.  
  728. JnA: process_string() is called from notify_no_command() i comm1.c
  729. JnA: This enables notify_fail() to work with 'value by function call'.
  730. JnA: Rehacked process_string() so it looks presentable, it didn't before.
  731.  
  732. Added add_xverb().
  733.  
  734. Fixed bugs in the auto indent option of ed.
  735.  
  736. The '?' command in ed started the search on the wrong line.
  737.  
  738. 'ed' can now handle names for new files.
  739.  
  740. Fixed a bug when a player went link-dead with inet packets pending and some
  741. other bugs for handling flushing.
  742.  
  743. 3.0.43
  744.  
  745. Added an option 'excompatible', which means that round brackets in reg exp
  746. needn't be escaped.
  747.  
  748. The regexp now allows \< and \> for matching start and end of word.
  749.  
  750. Fixed more bugs with the flushing of inet packages.
  751.  
  752. JnA: Total rehack of parse_command. Even I couldn't read the old mess.
  753.  
  754. JnA: Fixed a small bug in process_string which produced a star to much.
  755.  
  756. 3.0.44
  757.  
  758. Made a constant array of size 0, for all to share. This saves memory, and
  759. means that all variables set to ({}) uses as much memory as variables
  760. containing numbers. It will also mean that the test "({}) == ({})"
  761. will evaluate to true.
  762.  
  763. The types of arguments to '+' is now checked (when type testing is enabled).
  764. Expect errors if there is a call_other with no cast.
  765.  
  766. Implemented switch() statement, which takes a number or string as argument
  767. (thanks to J|rn Rennecke!) It uses a sorted table to speed up searching.
  768. Strings are very efficient, using the shared string table. Don't have a
  769. return statement inside the switch statement. It will crash the game due
  770. to a bug.
  771.  
  772. The definition of INC_LIST in config.h has been removed. Instead, there
  773. is a function 'define_include_dirs()' in master.c that returns an array
  774. of these strings. That also means that the master.c is compiled without
  775. automatica search for include files. If master.c inlucde any files, make
  776. sure these has absolute path. This is simply found out when the game driver
  777. is started :-)
  778.  
  779. Fixed some bugs in preload(). It didn't behave well when there was an error.
  780. Nor did it free the array of castle names.
  781.  
  782. Changed read_file(), to take an optional start and end argument.
  783.  
  784. Fixed a bug in 'ed', which could crash the game when trying to edit a file
  785. that you did not have permissions to.
  786.  
  787. 3.0.45
  788.  
  789. Fixed a bug in call_out, where destructed objects would not increment the
  790. time to next object in ther list of call outs to be executed.
  791.  
  792. call_out will now save and restore this_player(). That means that 'write()'
  793. will send messages to the player etc. It also means that efuns requiring
  794. valid_read and valid_write in the player object can be used (was only needed
  795. for -o mode).
  796.  
  797. Fixed a bug in log_file() which would only work for -o mode because
  798. valid_write was called with wrong argument.
  799.  
  800. Fixed a memory leak in load_object() which would not deallocate used arrays.
  801.  
  802. Changed the way reference counts for programs were updated, the old one was
  803. ugly and buggy.
  804.  
  805. The 'status' command was cleaned up. The command 'status tables' can also be
  806. given for verbose information about various tables.
  807.  
  808. Added interface for 'mudwho'. Define symbol MUDWHO in config.h and
  809. some constants in mudwho.h if you want to use it.
  810.  
  811. Fixed a bug in smart_log(), which could crash the game for very long
  812. error messages.
  813.  
  814. JnA: Replaced '*' in process_string with '@@', which is more uncommon
  815.  
  816. xt: made new efun rename().
  817.  
  818. cat() now returns number of lines that was printed.
  819.  
  820. It is now considered an error if objects are destructed at call of init().
  821.  
  822. Strings were not freed when multiple calls of notify_fail() was done.
  823.  
  824. The switch-statement has now been fixed so that it is poossible to do
  825. 'return' in it. It is also possible to use numeric intervals like
  826. 'case 1..100:'.
  827.  
  828. JnA: Fixed small bug in new_call_out which dumped the GD if command_giver == 0
  829.  
  830. JnA: Fixed a bug with fclose() in restore_object(), dumped the GD
  831.  
  832. RW: snoop: Added a backwards compatible patch to set_snoop. There is 
  833.     now a new function in comm1.c (new_set_snoop) that defines the
  834.     mudlib 3.0 version of set_snoop. The difference is that the efun
  835.     in !o_flag mode takes two arguments, snooper and snopee and checks
  836.     with the function valid_snoop() in master.c if this is permissable
  837.     or not. The new function breaks previous snoops if necessary
  838.     relying on the mudlib to decide if this is ok or not. Neither does
  839.     the new function write anything to the player, but expects the mudlib
  840.     to take care of that as well. The efun returns the object snooped on if
  841.     success, otherwise 0. Note however, that in o_flag mode, the
  842.     functionality is just as before.
  843.  
  844. RW: query_snoop: Fixed so that in !o_flag mode query_snoop can only be
  845.     called from the master object.
  846.  
  847. 3.0.46
  848.  
  849. RW: query_snoop was declared as returning string while actually returning
  850.     object. Fixed in efun_spec.
  851.  
  852. Fixed a bug in log_file(), which called valid_read instead of valid_write()
  853. (does not apply to the -o mode).
  854.  
  855. The saved commandgiver in call_out() was not properly freed in circumstances
  856. of errors.
  857.  
  858. JnA: Added read_bytes() to read a given number of bytes from a given position
  859. JnA: in a file. This will be used in CDlib to implement the worldmap.
  860.  
  861. JnA: Remade the principal functionality of parse_command(). It is now a lot
  862. JnA: more efficient if properly supported by the mudlib. This makes it not
  863. JnA: backwards compatible, meaning the old parse_command() is run in -o mode.
  864.  
  865. JnA: this_player(1) returning current_interactive
  866.  
  867. Applied changes for MSDOS.
  868.  
  869. JnA: move_or_destruct: should call move(to,1) in objects in mudlib 3.0
  870. JnA: It is dubious if the objects should be moved at all and not just
  871. JnA: destructed.
  872.  
  873. New restrictions has been defined for when a shadow may be used. A function
  874. query_allow_shadow() is called in master.c, which should return 0 or 1
  875. to deny respectively allow shadowing. The example in the provided master.c
  876. will define such a function that is compatible with the old way of calling
  877. query_prevent_shadow() in the victim. It is thus easy to change the shadowing
  878. into both allow never, allow always and allow sometimes, whatever you prefer.
  879.  
  880. The file lang.y is now automatically generated from prelang.y and postlang.y
  881. with make_func, which uses func_spec.
  882.  
  883. JnA: Added docs in parse.c and some support functions in master.c
  884.  
  885. 3.0.47
  886.  
  887. Got rid of the shift/reduce conflict from lang.y.
  888.  
  889. Renamed the game driver to 'driver' instead of 'debug'.
  890.  
  891. Enabled subtracting of arrays, which will do a set operation.
  892.  
  893. Enabled default argument to some efuns. For example, all_inventory() will
  894. use this_object() as argument if none specified.
  895.  
  896. There can now be third optional argument to tell_room(), an array of objects
  897. to be excluded.
  898.  
  899. There is a new function:
  900. string *get_dir(string)
  901. that takes a path as argument and returns an array of file names in that
  902. directory.
  903.     get_dir("/w"); returns ({ "w" })
  904.     get_dir("/w/"); and get_dir("/w/."); return contents of directory "/w"
  905.     get_dir("/");, get_dir("."); and get_dir("/."); return contents of
  906.         directory "/".
  907.  
  908. New efun:
  909. mixed assoc(mixed key, mixed *keys, mixed *|void data_or_fail, mixed|void fail);
  910. Searches a key in an alist.
  911.  
  912. Three modes of calling:
  913.    i ) With exactly two arguments, the second being an array which's first
  914.        element is no array.
  915.        In this case the entire array is searched for the key; -1 is returned
  916.      if not found, else the index ( like member_array, but faster ).
  917.  
  918.    ii) With two or three arguments, the second being an array which's first
  919.        element is an array.
  920.        The array has to have a second element of the same size;
  921.        the key is searched in the first and the associated element of the
  922.        second array that is element of second argument is returned if succesful;
  923.        if not, 0 is returned, or the third argument, if given.
  924.  
  925.    iii) With three or four arguments, the second being an array of keys
  926.     ( first element no array ) and the second is a matching data array.
  927.     returns 0 or fourth argument ( if given ) for failure,
  928.     or the matching entry in the array given as third argument for success.
  929.  
  930. Complexity : O( lg(n) ) , where n is the number of keys.
  931.  
  932. Return value is undefined if another list is given in place of a presorted
  933. key list.
  934.  
  935.  
  936. New efun:
  937. mixed insert_alist( mixed key, mixed data_or_key_list..., mixed * alist);
  938. inserts an entry into an alist, or shows the place where this is to be done.
  939. When called with the last argument being an alist:
  940.   The first argument is a key to be inserted, the second and all the
  941.   following but the last are data to associate it with.
  942.   The last has to be an array with as much elements as key and data arguments
  943.   are given, the matching key and data arrays; this should be already an
  944.   alist, or the return value will neither be an alist.
  945.   Return value is the enlarged assoc list ( array of two arrays ).
  946.   If the key is already in the list, the data is simply replaced
  947.   in the returned list.
  948.  
  949. When called with the last argument beinig a list of non-lists:
  950.   The call has to be done with exactly two arguments.
  951.   The first argument is a key to be inserted in the presorted key list
  952.   ( first element of an array that is an alist )
  953.   that has to be given as second argument. Return value is the index
  954.   where the key has to be inserted to preserve the structure of a presorted
  955.   alist, or the index where the key has been found.
  956.   Return value is an int.
  957.   CEVEATS: when called with certain string keys, the correct place might
  958.     change after the call. So better don't use this mode of calling with
  959.     a string key.
  960.  
  961. Complexity O( lg(n) + a*n ) Where n is the number of keys and s is
  962. a very small constant ( for block move );
  963.  
  964.  
  965. New efun:
  966. mixed *order_alist(mixed *keys, mixed *|void data, ...);
  967. Creates an alist.
  968. Either takes an array containing keys, and others containing the associated
  969. data, where all arrays are to be of the same length,
  970. or takes a single array that contains as first member the array of keys
  971. and has an arbitrary number of other members containing data, each of wich
  972. has to be of the same length as the key array.
  973. Returns an array holding the sorted key array and the data arrays; the same
  974. permutation that is applied to the key array is applied to all data arrays.
  975.  
  976. Complexity is O( n * lg(n) * m ) , where n is the number of elements in the key
  977. array and m is the number of data arrays + 1;
  978.  
  979. Note that the the dimensions of the arrays are used the other way than in lisp
  980. to allow for faster searching.
  981.  
  982. Keys have to be of type integer, string or object. Types can be mixed.
  983.  
  984. New efun:
  985. mixed *sort_array(mixed *arr, string greater_fun, object ob);
  986. Returns an array sorted by the ordering function ob->greater_fun()
  987. The function 'greater_fun' in the object 'ob' is continously passed two
  988. arguments which are two of the elements of the array 'arr'. It should return
  989. true or a positive number if the first argument is greater than the second.
  990.  
  991. A parse_old.c was copied from 3.0.45 parse.c, and the new parse.c is not used
  992. currently.
  993.  
  994. 3.0.48
  995.  
  996. get_dir() and ls() will now also return files with the suffix .i.
  997.  
  998. Fixed a function in array.c that was defined in the ANSI way.
  999.  
  1000. read_bytes() will no longer convert newlines to spaces.
  1001.  
  1002. xt: -o replaced with #define COMPAT_MODE
  1003.  
  1004. xt: rename() now checks that you have write permission on the file
  1005.     you move.
  1006.  
  1007. Catching errors when calling reset() was not done.
  1008.  
  1009. A new efun, "mixed debug_info(int, ...)", to be used for general debug
  1010. information. The first number defines what kind of debugging information.
  1011. Currently, only 0 is allowed, which will print info about an object (second
  1012. argument).
  1013.  
  1014. get_dir() now returns a zero length array if no files in directory.
  1015.  
  1016. Fixed a bug in ls() and get_dir(), which would fail in some circumstances.
  1017.  
  1018. Runtime type check of third argument to tell_room was missing.
  1019.  
  1020. A substitution in ed.c that yielded a too long line was likely to crash
  1021. the game.
  1022.  
  1023. indent() popped off it's arguments before it was used. Can be dangerous.
  1024.  
  1025. Preventing against explicit calls of ::functions through call_other() and
  1026. add_action().
  1027.  
  1028. The efun ls() is no longer needed because of get_dir(), and has been removed.
  1029. There is a file mudlib_simul_efun.c, which can define functions to replace
  1030. obsolete efuns etc. This file has a definition of ls() if you don't want to
  1031. fix all occurences in your mudlib code. The provided master.c now as a
  1032. function named get_simul_efun(), which is supposed to return the name of this
  1033. simul-efun file. Users of both COMPAT_MODE and native mode can use this
  1034. get_simul_efun() in master.c. Beware of other things in the provided master.c,
  1035. as they are specially for COMPAT_MODE. Expect more obsolete efuns to disappear
  1036. in the future. Because of this simul_efun mechanism, compatibilty is
  1037. maintained. For more details, look in source code or in the LPmud.texinfo
  1038. documentation.
  1039.  
  1040. 3.0.49
  1041.  
  1042. Fixed a severe allocation bug in get_dir().
  1043.  
  1044. Fixed a bug that could crash the game if the simul_efun file was destructed.
  1045.  
  1046. The value of error() was used in array.c. Sigh. Also, NULL was used, while
  1047. stdio.h was not included. it is more proper to us 0.
  1048.  
  1049. Functions that are 'static' in mudlib_simul_efun.c will not overide any
  1050. efuns and will never be called automatically.
  1051.  
  1052. Doing "set_heart_beat(0)" followed by "set_heart_beat(1)" in the heart beat
  1053. would leave the object for every firts in the list of objects to get
  1054. heart beats.
  1055.  
  1056. The file func_spec has been renamed to func_spec.c, so as to enable the
  1057. C preprocessor to use it as input. The old file 'func_spec' can be removed.
  1058. Look at the end of func_spec.c for LPC efuns conditionally defined. You might
  1059. want to change the list. There is currently only one.
  1060.  
  1061. 3.0.50
  1062.  
  1063. Implemented a "range" argument to index operators, which can be used on
  1064. strings and arrays. extract() and slice_array() are no longer needed.
  1065. The syntax is: 'expr1[expr2 .. expr3]' where 'expr1' is either a string or an
  1066. array of any type of elements. 'expr2' and 'expr3' must be numbers.
  1067. extract() will remain for compatibility, but slice_array() has been replaced
  1068. by a simulated efun in mudlib_simul_efun.c.
  1069.  
  1070. Functions defined in mudlib_simul_efun.c could fail to be used if it was a
  1071. complex expression.
  1072.  
  1073. Fixed bug in read_bytes(), which did not terminate strings properly with
  1074. a 0-byte.
  1075.  
  1076. Made make_func more robust, so as to verify that no buffers are
  1077. overwritten.
  1078.  
  1079. The -lpc flag is now supplied to the indent program.
  1080.  
  1081. The efun filter_objects() has been renamed as filter_array(), as that is
  1082. really what it does. An entry has been added to mudlib_simul_efun.c for
  1083. the sake of compatibility.
  1084.  
  1085. sort_array() has been made more portable.
  1086.  
  1087. Allows -DFLAG as arguments to the game driver, which will define symbols
  1088. for all LPC files loaded.
  1089.  
  1090. Made efun trace usable in compatibility mode.
  1091.  
  1092. New efun: intersect_alist(), does a fast set intersection on alists. The
  1093. operator '&' does set intersection on arrays in general.
  1094.  
  1095. 3.0.51
  1096.  
  1097. create_wizard() is now only defined for compatibility mode.
  1098.  
  1099. The -D flag is now parsed before master.c is loaded.
  1100.  
  1101. It is no longer possible to shadow a function that is defined as 'nomask'.
  1102.  
  1103. previous_object() is now also set when doing call_other(this_object()). I
  1104. examined the code to mudlib 2.4.5, and found no case where code would be
  1105. broken. Tell me if I am wrong ! It is unlikely, as you normally don't do
  1106. call_other(this_object()).
  1107.  
  1108. Fixed some type tests of binary operator '-' in regards to arrays. (It is
  1109. allowed to subtract arrays from each other.)
  1110.  
  1111. A new function is defined in master.c: query_player_level(string type).
  1112. It is supposed to be a portable function that defines what permissions a
  1113. player has depending on his level. It is used by the game driver. Be sure to
  1114. copy this function to your master.c, and update it !
  1115.  
  1116. A new efun has been defined: 'string *regexp(string *list, string pattern)'.
  1117. It takes an array 'list' of strings, and returns a new array of the strings
  1118. that matched 'pattern'.
  1119.  
  1120. Sorry, some NULL:s had been used again in array.c.
  1121.  
  1122. New efun: object *deep_inventory(object *ob);
  1123.   This function returns the recursive inventory of an object. The returned 
  1124.   array of objects is flat, ie there is no structure reflecting the 
  1125.   internal containment relations.
  1126.  
  1127. When the user gives a 'e file' command from inside the editor session, then
  1128. the file name has to be transformed to correct path if not given with a
  1129. leading slash. This is only needed in native mode. A function
  1130. 'string make_path_absolute(string file)' is called in master.c to do this
  1131. job. For example, when Lars does 'e file.c', then make_path_absolute() could
  1132. transform this into '/w/lars/file.c'.
  1133.  
  1134. Efun rename() only worked for native mode, so it was changed so as to be
  1135. undefined for compatibility mode.
  1136.  
  1137. Allocating much fewer strings when compiling, as pointers to identical strings
  1138. can be shared.
  1139.  
  1140. The value of this_player() could be wrong sometimes in 'catch_tell'.
  1141.  
  1142. A saved file name from yyerror() has to be stored with a leading slash
  1143. in native mode.
  1144.  
  1145. Using ed() without arguments to edit the file with the last error now also
  1146. works for native mode, if query_real_name() is defined in the player object.
  1147.  
  1148. say() now allows a list of objects to be avoided.
  1149.  
  1150. Fixed a bug in ed() when starting a new ed() session from the function call
  1151. executed when ed() finished.
  1152.  
  1153. The argument to 'set' in 'ed' can now be 80 characters, and will give error
  1154. if exceeded (instead of crashing the game).
  1155.  
  1156. Players not yet in a room will not receive shout messages.
  1157.  
  1158. Extended efun debug_info() with a second type of info, which is really even
  1159. more of the first type. Try 'debug_info(0, ob)' and 'debug_info(1, ob)'.
  1160.  
  1161. JnA: Changed exec() so that it calls valid_exec(program_name) in master.c
  1162. JnA: Earlier versions enforced program_name to be secure/login.c
  1163.  
  1164. Fixed a memory leak by calling YYACCEPT instead of doing return from the
  1165. yacc parser.
  1166.  
  1167. 3.0.52
  1168.  
  1169. Fixed a fatal bug in say() when an object was given as a second optional
  1170. argument.
  1171.  
  1172. 3.0.53
  1173.  
  1174. JnA: Fixed some bugs in parse_command(). Empty commands and patterns will not
  1175. JnA: dump the driver. Multi word id's is now possible. 'word word' is not.
  1176.  
  1177. RW: Fixed a lot of #else XXX and #endif XXX that ought to have the XXX
  1178.     within comments. Apparently a lot of compilers complain mightily.
  1179.  
  1180. RW: Applied fix to apply_low() in interpret.c . References to functions in 
  1181.     swapped objects were kept and made the game dump. Fix supplied by
  1182.     Dworkin.
  1183.  
  1184. It is now possible to initialize non-local variables. If such initialization
  1185. is used, then a function __INIT() will automatically be defined, which can
  1186. be called. __INIT() is automatically called when the object is created
  1187. for the first time, as well as when it is cloned. The __INIT() function will
  1188. also call __INIT() of all inherited files, if there are any. Strict types
  1189. are enforced. Example:
  1190. object created_me = this_player();
  1191. The variables are initalized and __INIT is called in the same order as
  1192. variables are declared respectively inherit statements are encountered.
  1193.  
  1194. Fixed a bug in set_notify(), which would crash the game if the value of
  1195. this_player() was 0.
  1196.  
  1197. previous_object() should now behave the same way, independent of if the called
  1198. function was found in the cache or not.
  1199.  
  1200. A bug was fixed which cold crash the game driver by the following code:
  1201. int test;
  1202. void test() {
  1203.   test = "test"->(int)test;
  1204.   test = 1;
  1205. }
  1206.  
  1207. A new function, 'string *inherit_list(object ob)' will return the names
  1208. of all files inherited by 'ob'.
  1209.  
  1210. 3.1.0
  1211.  
  1212. From now on, I (lars@cd.chalmers.se) will not develop new major features. I
  1213. will only use minimum time to fix bugs. The goal is to make the game driver as
  1214. bug free and stable as possible. I will not either incorporate new big
  1215. features from others, as that has proven to require much time from me.
  1216.  
  1217. Fixed a bug in the initialization code, which did become a recursive
  1218. function call.
  1219.  
  1220. The statment catch(exec(...)) could crash the game.
  1221.  
  1222. 3.1.1
  1223.  
  1224. Fixed a severe bug, where this_player() returned non-zero value when the
  1225. object was destructed. The basic idea is that it should never be possible
  1226. to refer to a destructed object.
  1227.  
  1228. 'nomask' functions and variables wasn't checked for correctly. 'private'
  1229. functions were fixed, so that they can no be called through call_other().
  1230.  
  1231. This is a short summary of how special types are handled:
  1232.  
  1233.     'static' variables: Will not be saved at save_object(), nor modified at
  1234.     restore_object(). 'static' functions can not be called through
  1235.     call_other(). 'static' inheritance will make all inherited definitions
  1236.     'static'.
  1237.  
  1238.     'private' variables and functions: Can not be accessed by a sub class
  1239.     inheriting their definitions. Functions can not be called through
  1240.     call_other(). 'private' inheritance will make all variables and functions
  1241.     'private'. 
  1242.  
  1243.     'nomask' functions and variables can not be redefined by a sub class.
  1244.     'nomask' inheritance will make all inherited definitions 'nomask'.
  1245.  
  1246.     'public' variables and functions can be redefined by a sub class, even if
  1247.     they have been inherited 'private'ly. 'public' inheritance will make all
  1248.     inherited definitions 'public'. 
  1249.  
  1250.     The type 'protected' is reserved, but does not mean anything currently.
  1251.  
  1252. 3.1.2
  1253.  
  1254. All variables were accidently considered to be nomask.
  1255.  
  1256. Fixed a bug in say(), which could fail for the case when there were a lot of
  1257. listeners.
  1258.  
  1259. The statement 'static int a = 1;' no longer generates an error message about
  1260. non-matching types because of the 'static' type.
  1261.